package hu.codelab.lg.servicecenter.entities;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;
import org.simpleframework.xml.Text;

@Root(name = "PhoneItem", strict = false)
public final class Phone {

    @Text(required = false)
    private String number;

    @Attribute(name = "type", required = false)
    private int type;

    public String getNumber() {
        return number;
    }

    public void setNumber(final String number) {
        this.number = number;
    }

    public int getType() {
        return type;
    }

    public void setType(final int type) {
        this.type = type;
    }

}
